package com.gao.api.gate.quick.proto.push;

import com.gao.api.gate.quick.proto.http.HttpRequest;

/**
 * <p></p>
 *
 * @author gaoshuangwen
 * @since 2022/01/11 13:57
 */
public class AsyncInvokerBuilder {

    private HttpRequest request;

    private AsyncInvoker asyncInvoker;
    public AsyncInvokerBuilder(HttpRequest request) {
        // 构建一个request build
        //HttpRequest.
        this.request = request;
    }
    public AsyncInvokerBuilder addHeader(String key, String val){
        //request
        return this;
    }
    public AsyncInvokerBuilder addParam(String key, String val){
        //request
        return this;
    }
 /*   public <T> ListenableFuture<T> execute(AsyncHandler<T> handler) {
        CompletableFuture completableFuture = new CompletableFuture();

        return client.executeRequest(build(), handler);
    }*/

}
